package com.nineclock.api.attendance;

import com.nineclock.attendance.dto.AttendGroupDTO;
import com.nineclock.common.entity.PageResult;
import com.nineclock.common.entity.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api("考勤管理")
public interface AttendanceControllerApi {
    @ApiOperation("分页查询")
    public Result<PageResult<AttendGroupDTO>> getAttendGroupByUserId(Integer page,Integer pageSize);

    @ApiOperation("添加考勤组")
    public Result attendGroup(AttendGroupDTO attendGroupDTO);

    @ApiOperation("获取当前登录用户考勤组")
    public Result<AttendGroupDTO> queryAttendGroup();
}
